package com.ls.socketio.bean;

import com.ls.socketio.enums.MessageAttrEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.stereotype.Service;

import java.io.Serializable;

/**
 * @author liShan
 * @date 2019/9/5 9:20
 */
@Getter
@Setter
@ToString
public abstract class BaseCommand implements Serializable {

    /**
     * @see MessageAttrEnum
     */
    private String messageAttr;
    private RoomBoxInfo boxInfo;

    public BaseCommand() {
    }

    public BaseCommand(String messageAttr) {
        this.messageAttr = messageAttr;
    }
}
